﻿#include "commonmember.h"

#include "chatroom.h"

CommonMember::CommonMember(int id, int level) : Member(id, level)
{

}

void CommonMember::sendImage(int id, QString imageName)
{
    imageName.append("from Commember");
    m_chartRoom->sendImage(this->id(), id, imageName);
}

void CommonMember::sendText(int id, QString textInfo)
{
    textInfo.append("from Commember");
    m_chartRoom->sendText(this->id(), id, textInfo);
}
